rm lab-05.exe myoutput-1.txt sorted-myoutput-1.txt
rm myoutput-2.txt sorted-myoutput-2.txt
rm myoutput-3.txt sorted-myoutput-3.txt
gcc -ansi -pedantic -W -Wall -Werror -Wall -Wextra -O2 -o lab-05.exe lab-05.c
./lab-05.exe input-1.txt >> myoutput-1.txt
./convert-output-to-sorted.pl myoutput-1.txt
diff -a -b sorted-myoutput-1.txt sorted-correct-output-1.txt
./lab-05.exe input-2.txt >> myoutput-2.txt
./convert-output-to-sorted.pl myoutput-2.txt
diff -a -b sorted-myoutput-2.txt sorted-correct-output-2.txt
./lab-05.exe input-3.txt >> myoutput-3.txt
./convert-output-to-sorted.pl myoutput-3.txt
diff -a -b sorted-myoutput-3.txt sorted-correct-output-3.txt
